<?php
/**
 * Created by PhpStorm.
 * User: kirito
 * Date: 2019/4/25
 * Time: 下午3:55
 */

class Common_Request_Redirection extends PhalApi_Request
{

    public function getService()
    {
        $service = $this->get('r');
        if (!empty($service)) {
            return str_replace('/', '.', $service);
        }
        return parent::getService();
    }
}